package com.zxx.pattern.commandPattern.command_Z;

/**
 * @author zxx on 2021/3/4
 */
public class StockSell implements Order {

    private Stock abcStock;

    public StockSell(Stock abcStock) {
        this.abcStock = abcStock;
    }

    @Override
    public void execute() {
        abcStock.sell();
    }
}
